package com.liu.shop.common.constant;

public interface OrderConstatns {
    String ORDER_ID_NUM = "shop:order:oid-num";

    Integer ORDER_DB_SIZE = 2;

    Integer ORDER_TABLE_SIZE = 2;

    //对应的是配置文件中的数据库别名
    String ORDER_DATASOURCE_PRE = "order-";


    // 订单交换机
    String ORDER_EXCHANGE = "order-exchange";
    // 延时队列
    String ORDER_TTL_QUEUE = "order-ttl-queue";
    // 死信交换机
    String ORDER_DLE_EXCHANGE = "order-del-exchange";
    // 死信交换机的队列
    String ORDER_TTL_DLE_QUEUE = "order-ttl-del-queue";
    // 订单超时释放库存队列
    String STOCK_TTL_UNLOCK_QUEUE = "stock-ttl-unlock-queue";
    // 释放库存队列
    String STOCK_DLE_UNLOCK_QUEUE = "stock-dle-unlock-queue";
}
